#include "Lerp.h"

Lerp::Lerp (float x, float y) : _vX(x), _vY(y){}

Lerp Lerp::devolverResul(float _t, float xA, float yA) {
	float resX, resY;
	resX = xA + _vX * _t;
	resY = yA + _vY * _t;
	Lerp resul(resX, resY);
	return resul;
}

float Lerp::getvX() {return _vX;}
float Lerp::getvY() {return _vY;}


